extends "../makeboluo-3/makeboluo-3.gd"


var baseId = ""
var upText1 = "圣盾之力伤害提高35%"
var upText2 = "圣盾之力范围+1"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("每{cd}秒复制我方角色的圣盾为己用", "圣盾同化", "makeboluo4", 12)

func _castCdSkill(id):
	._castCdSkill(id)
	if id == "makeboluo4":
		makeboluo4()

func makeboluo4():
	utils.createSkillTextEff("圣盾之力", position)
	for i in getAllChas(2):
		if i == self:continue
		var bf = i.hasBuff("b_shengDun")
		if bf == null:continue
		buff.addShengDun(self, bf.num)

func upgrade():
	.upgrade()
	if upgraded == 1:
		p3 = 1.35